<%@ page import="com.jfinal.plugin.activerecord.Db" %>
<%@ page import="com.jfinal.kit.StrKit" %>
<%@ page import="cn.szzsi.common.model.Member" %><%--
  Created by IntelliJ IDEA.
  User: weimin28
  Date: 2017/1/2
  Time: 下午4:26
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%
String pid = request.getParameter("pid");
if(StrKit.notBlank(pid) && !pid.equals("0")){
    Member m = Member.dao.findById(pid);
    out.print(m.getStr("username"));
    out.flush();
}else{
    out.print("无上级");
    out.flush();
}
%>
